<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<script type="text/javascript">
$('#menuAddPid').combotree({
	url : '${ctx}/menu/tree.do',
	parentField : 'pid',
	lines : true,
	panelHeight : 'auto',
	value : '${menu.pid}',
	onLoadSuccess : function() {
		$.messager.progress('close');
	}
});
</script>
	<form id="menuadd_Form" method="post">
        <div class="info-panel" style="width: 760px;">
            <div class="panel" style="display: block;width: 760px;">
                <%--<div class="panel-header" style="width: 988px;">--%>
                <%--<div class="panel-title"></div>--%>
                <%--<div class="panel-tool"></div>--%>
                <%--</div>--%>
                <table  title="" class="easyui-panel panel-body">
                    <tbody>
                    <input type="hidden" name="id" />
                    <tr>
                        <td>资源名称：</td>
                        <td><input type="text" name="text" class="easyui-validatebox" data-options="required:true,missingMessage:'资源名不能为空！'" style="width: 160px; height: 29px;"/></td>

                    </tr>
                    <tr>
                        <td>是否显示：</td>
                        <td>
                            <select name="isshow" class="easyui-combobox" data-options="width:160,height:29,editable:false,panelHeight:'auto'">
                                <option value="是">是</option>
                                <option value="否">否</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>上级资源：</td>
                        <td><select id="menuAddPid" name="pid" style="width: 160px; height: 29px;" data-options="editable:false"></select></td>

                    </tr>
                    <tr>
                        <td>顺序号：</td>
                        <td><input type="text" name="orderno" style="width: 160px; height: 29px;"/></td>
                    </tr>
                    <tr>
                        <td>资源URL：</td>
                        <td><input type="text" name="url" style="width: 160px; height: 29px;"/></td>
                    </tr>
                    <tr>
                        <td>CLASS：</td>
                        <td><input type="text" name="iconcls" style="width: 160px; height: 29px;"/></td>
                    </tr>
                    <tr>
                        <td>STYLE：</td>
                        <td><input type="text" name="sstyle" style="width: 260px; height: 29px;"/></td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
	</form>
